<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
//Route::post('user/registered', 'app\index\controller\User@addUser');    //用户注册   post





Route::post('user/info/supplement', 'app\index\controller\User@supplement');    //创始会员身份证补充  post





Route::post('user/info/change', 'app\index\controller\User@editUser');    //用户基本信息修改  post
Route::post('user/add/address', 'app\index\controller\User@addAddress');    //用户添加收货地址   post
Route::post('user/edit/address', 'app\index\controller\User@editAddress');    //用户修改收货地址   post
Route::post('user/show/address', 'app\index\controller\User@showAddress');    //用户展示收货地址   post
Route::post('user/show/addressInfo', 'app\index\controller\User@showAddressInfo');    //用户展示收货地址详细信息   post
Route::post('user/del/address', 'app\index\controller\User@delAddress');    //用户展示收货地址   post

Route::post('user/check/address', 'app\index\controller\User@delAddress');    //用户展示收货地址   post

Route::post('get/user/openid', 'app\index\controller\User@getOpenId');    //获取用户openid   post

Route::post('user/check/shop', 'app\index\controller\User@checkUserShop');    //校验用户是否开通商户   post


Route::post('user/show/order', 'app\index\controller\User@showOrder');    //用户展示订单   post
Route::post('user/show/orderInfo', 'app\index\controller\User@showOrderInfo');    //用户展示订单详情   post

Route::post('user/add/distribution', 'app\index\controller\User@addDistributionUser');    //加入分销   post

Route::post('user/create/bargain', 'app\index\controller\User@createBargainOrder');    //创建砍价商品   post

Route::post('user/edit/bargain', 'app\index\controller\User@editBargainOrder');    //好友砍价   post
Route::post('user/show/bargain', 'app\index\controller\User@showBargainGoods');    //显示砍价商品   post
Route::post('user/comment/Goods', 'app\index\controller\User@commentGoods');    //评价商品   post
Route::post('user/showInfo', 'app\index\controller\User@showUserInfo');    //显示用户中   post

Route::post('user/bargain/list', 'app\index\controller\User@showBargainOrder');    //用户端砍价商品显示   post

Route::post('add/user/shoppingCart', 'app\index\controller\User@addShoppingCart');    //添加购物车   post
Route::post('show/user/shoppingCart', 'app\index\controller\User@showShoppingCart');    //购物车显示   post
Route::post('del/user/shoppingCart', 'app\index\controller\User@delShoppingCart');    //删除购物车商品   post


Route::post('create/shop', 'app\shop\Shop@addShop');    //创建商户   post
Route::post('edit/shop', 'app\shop\Shop@editShop');    //修改商户   post
Route::post('del/shop', 'app\shop\Shop@delShop');    //删除商户   post
Route::post('show/shop/info', 'app\shop\Shop@shopInfo');    //显示商户信息   post
Route::post('search/shop', 'app\shop\Shop@searchShop');    //搜索商户信息   post


Route::post('search/shop/ce', 'app\shop\Shop@ceshi');



Route::post('show/hot/shop', 'app\shop\Shop@showShop');    //展示人气商户   post
Route::get('show/type/shop', 'app\shop\Shop@showType');    //展示商户分类   get
Route::post('show/type/shopInfo', 'app\shop\Shop@showTypeShop');    //展示类别下商户展示   post
Route::post('shop/hot/change', 'app\shop\Shop@changeShopHot');    //展示类别下商户展示   post

Route::post('add/goods/type', 'app\shop\Shop@addGoodsType');    //添加商品分类   post
Route::post('edit/goods/type', 'app\shop\Shop@editGoodsType');    //修改商品分类   post
Route::post('del/goods/type', 'app\shop\Shop@delGoodsType');    //删除商品分类   post
Route::get('show/goods/type', 'app\shop\Shop@showTypeGoods');    //显示商品分类   get

Route::post('add/goods/rotation', 'app\shop\Shop@addTypeRotation');    //添加商品轮播图   post
Route::post('show/goods/rotation', 'app\shop\Shop@showTypeRotation');    //展示商品轮播图   post
Route::post('del/goods/rotation', 'app\shop\Shop@delTypeRotation');    //删除商品轮播图   post


Route::post('show/shop/type', 'app\shop\Shop@showTypeGoods');    //展示商户首页分类   post
Route::post('show/type/goods', 'app\shop\Shop@showGoodsList');    //展示商户分类下的商品   post
Route::get('show/goodsInfo', 'app\shop\Shop@showGoods');    //展示商品详情   get
Route::get('show/showAnnexShop', 'app\shop\Shop@showAnnexShop');    //附近商家显示   get

Route::post('show/wek/order', 'app\shop\Shop@showWekOrder');    //显示7天交易量   post
Route::get('show/hot/goods', 'app\shop\Shop@showGoodsNumber');    //热卖商品展示  get
Route::post('add/shop/goods', 'app\shop\ShopGoods@addGoods');    //添加商品 post
Route::post('edit/shop/goods', 'app\shop\ShopGoods@edit');    //修改商品  post
Route::post('del/shop/goods', 'app\shop\ShopGoods@delGoods');    //修改商品  post
Route::post('show/shop/admin/goods', 'app\shop\ShopGoods@showGoodsList');    //显示商品列表 商户端  post
Route::post('show/shop/admin/goodsInfo', 'app\shop\ShopGoods@showGoodsInfo');    //显示商品详情 商户端  post

Route::post('create/goods/bargain', 'app\shop\ShopGoods@createBargainGoods');    //创建砍价商品  post
Route::post('edit/goods/bargain', 'app\shop\ShopGoods@editBargainGoods');    //修改砍价商品  post
Route::post('del/goods/bargain', 'app\shop\ShopGoods@delBargainGoods');    //删除砍价商品  post
Route::post('show/goods/bargain', 'app\shop\ShopGoods@showBargainGoods');    //显示砍价商品列表  post
Route::get('show/goods/bargainInfo', 'app\shop\ShopGoods@showBargainGood');    //显示砍价商品详细信息  get
Route::post('create/goods/order', 'app\order\Order@createOrder');    //创建订单  post
Route::post('show/shop/goods/order', 'app\order\Order@show');    //商户订单列表显示  post
Route::post('ship/goods/order', 'app\order\Order@ship');    //发货  post
Route::post('end/goods/order', 'app\order\Order@endOrder');    //订单完成  post
Route::post('end/goods/test', 'app\order\Order@test');    //订单完成  post
Route::post('show/order/pay/info', 'app\order\Order@showOrderPayInfo');    //订单完成  post
Route::get('show/city', 'app\shop\Shop@showCity');    //显示市  get
Route::get('show/province', 'app\shop\Shop@showProvince');    //显示省份  get
Route::get('show/district', 'app\shop\Shop@showDistrict');    //显示区县  get


Route::post('add/shop/proxy/goods', 'app\shop\ShopGoods@addProxyGood/create/shops');    //添加代理商品  post
Route::post('show/shop/proxy/shop', 'app\shop\ShopGoods@showProxyShop');    //显示代理商户  post
Route::post('show/shop/proxy/goods', 'app\shop\ShopGoods@showProxyGoods');    //显示代理商户下的代理商品  post

Route::post('show/shop/goods/list', 'app\shop\ShopGoods@showAllGoodsList');    //商品列表  post


Route::post('wechat/pay/notify', 'app\pay\WeChatPay@notifyUrl');    //微信回调接口  post
Route::post('wechat/pay', 'app\pay\WeChatPay@WxPay');    //微信回调接口  post

Route::get('get/version/number', 'app\index\controller\User@getVersionNumber');//获取版本号 get

////////////////////////////////-------------后台接口---------------------//////////////////////////
Route::get('show/admin/shop', 'app\shop\Shop@showAdminShop');    //热卖商品展示  get

Route::post('show/Admin/orderNum', 'app\order\Order@showOrderNum');    //显示订单号  post
Route::get('admin/end/goods/order', 'app\order\Order@getOrderNumber');    //今日交易总订单  get
Route::post('admin/show/orderInfo', 'app\order\Order@showOrderInfo');    //显示订单详情 post

Route::get('admin/show/hot/goods', 'app\order\Order@showHotGoods');    //显示热卖商品 get
Route::get('admin/show/proxy/goods', 'app\order\Order@showProxyGoods');    //显示代理最多的商品 get
Route::get('admin/show/ratings/goods', 'app\order\Order@showRatingsGoods');    //显示代理最多的商品 get
Route::get('admin/show/returns/goods', 'app\order\Order@showReturnsGoods');    //退货 get

Route::post('admin/proving', 'app\admin\controller\Login@proving');  //验证码发送
Route::post('admin/login', 'app\admin\controller\Login@login');    //登陆 post
Route::get('admin/platform/fees', 'app\admin\controller\Platform@feesStatistics');    //平台手续费 get


Route::post('admin/user/relationship', 'app\index\controller\User@showMemberRelationship');    //用户关系展示 post
Route::post('admin/search/shopInfo', 'app\shop\Shop@searchAdminInfo');    // 商户信息展示  post

Route::post('change/shop/integral/value', 'app\shop\ShopConfig@addIntegralRatio');    // 设置商户积分返回比例  post
Route::post('show/shop/integral/value', 'app\shop\ShopConfig@showIntegralRatio');    // 设置商户积分返回比例  post

Route::post('admin/add/proxy', 'app\admin\controller\Platform@addProxy');    // 商户信息展示  post


Route::get('admin/show/province', 'app\admin\controller\Platform@showProvince');    // 省代区域显示  get
Route::get('admin/show/municipal', 'app\admin\controller\Platform@showMunicipal');    // 省代区域显示  get

Route::get('admin/show/commission', 'app\admin\controller\Platform@showCommission');    // 省代区域显示  get


Route::post('review/withdraw', 'app\withdraw\WithdrawReview@withdrawReview');    // 提现申操作  post
Route::post('user/withdraw', 'app\withdraw\WithdrawApplication@addWithdraw');    //发起提现   post
Route::post('show/user/withdraw/total', 'app\withdraw\ShowWithdraw@showWithdrawSuccessMoney'); //提现页面展示   post
Route::post('show/withdraw/order', 'app\withdraw\ShowWithdraw@withdrawShow');    //提现显示   post


Route::get('end/order', 'app\order\Order@endOrder');    // 省代区域显示  get


Route::get('test/test', 'app\index\controller\Index@test');    //好友砍价   post

//Route::get('user/test1', 'app\user\User@test');    //显示热卖商品 get

Route::get('user/test1', 'app\user\User@sendMsg');    //显示热卖商品 get

//-------------------------------------------------------V3----------------------------------------------------------//



Route::post('add/friend', 'app\user\User@addFriend');    //添加好友 post

Route::post('show/friend', 'app\user\User@showFriend');    //显示好友 post
Route::post('wx/user/bind/tel', 'app\user\User@WXUserTelBind');    //微信绑定手机号（微信小程序）

Route::get('get/verification/code', 'app\user\UserLogin@createVerificationCode');    //获取验证码 get
Route::post('send/user/tel/msg', 'app\user\UserLogin@sendMsg');    //发送短信 post
Route::post('verification/code/check', 'app\user\UserLogin@checkVerificationCode');    //验证码校验 post
Route::post('binding/user/tel', 'app\user\UserLogin@bindingTel');    //绑定手机号  post

Route::post('show/sever/info', 'app\user\UserLogin@showSevers');    //绑定手机号  post


Route::post('user/get/code', 'app\user\UserLogin@getUserCode');    //获取用户二维码  post

Route::post('show/user/info', 'app\user\User@showUserInfo');    //用户信息显示 post
Route::post('add/user/info', 'app\user\User@addUserInfo');    //添加用信息 post

Route::post('add/bank/card', 'app\user\User@addBankCard');    //商户添加银行卡   post
Route::post('edit/bank/card', 'app\user\User@editBankCard');    //商户修改银行卡   post
Route::post('show/bank/card', 'app\user\User@showBankCardInfo');    //展示商户银行卡   post
Route::post("add/bank/banking",'app\user\User@banking'); //支持银行卡列表post
Route::post("add/bank/add",'app\user\User@add'); //后台添加银行卡列表post

Route::post('user/integral/withdraw', 'app\user\User@integralWithdraw');    //积分提现申请   post
Route::post('show/review/withdraw', 'app\user\User@showReviewWithdraw');    //显示审核列表   post

Route::post('admin/review/withdraw', 'app\user\User@reviewWithdraw');    //提现审核   post

Route::post('user/show/msg', 'app\user\User@showMsg');    //消息记录显示   post
Route::post('user/show/integral/record', 'app\user\User@showIntegralRecord');    //消息记录显示   post
Route::post('user/show/read/msg', 'app\user\User@readMsg');    //消息记录显示   post
Route::post('user/del/msg', 'app\user\User@delUserMsg');    //删除消息   post
Route::get('test/test/test', 'app\user\User@test');    //删除消息   post


Route::get('show/shop/info', 'app\shop\Shop@shopInfo');    //显示商户信息   post

Route::post('create/shop', 'app\shop\Shop@addShop');    //创建商户   post

Route::get('create/test', 'app\shop\Shop@test');    //创建商户   post


Route::post('pay/pay', 'app\pay\AliPay@pay');    //创建商户   post
Route::get('show/showShopAnnex', 'app\shop\Shop@showShopAnnex');    //附近商家显示   get
Route::get('get/shop/code', 'app\shop\Shop@getShopCode');    //获取商户二维码   get


//////////////////////////////-------------------------V3大后台---------------------------------///////////////////////
Route::get('show/admin/shop', 'app\shop\Shop@showAdminShop');    //热卖商品展示  get

Route::get('admin/ordinary/statistics', 'app\admin\controller\UserManage@title');    //会员管理title  get
Route::get('admin/user/paymen/info', 'app\admin\controller\UserManage@userPaymentInfo');    //会员缴费情况  get

Route::get('admin/user/paymen/config', 'app\admin\controller\UserManage@showUserPaymentConfig');    //会员缴费情况显示  get

Route::post('admin/user/paymen/config/modify', 'app\admin\controller\UserManage@modifyUserPaymentConfig');    //会员缴费费率修改  post
Route::post('admin/user/show/info', 'app\admin\controller\UserManage@searchUserInfo');    //会员缴费情况显示  post
Route::post('admin/user/edit/status', 'app\admin\controller\UserManage@editUserStatus');    //修改会员状态  post
Route::post('admin/shop/edit/status', 'app\admin\controller\UserManage@editShopStatus');    //修改商铺状态  post
Route::post('admin/user/search/info', 'app\admin\controller\UserManage@searchUserPayment');    //会员缴费查询  post

Route::post('admin/user/show/info/title', 'app\admin\controller\UserManage@showMemberInfoTitle');    // 会员基本信息抬头 post
Route::post('admin/user/show/info/base', 'app\admin\controller\UserManage@showMemberInfoBase');    //会员基本信息  post

Route::post('admin/user/show/info/io/title', 'app\admin\controller\UserManage@showMemberIntegralIOTitle');    //积分收支记录抬头  post
Route::post('admin/user/show/info/io', 'app\admin\controller\UserManage@searchMemberIntegralIO');    //积分收支记录  post
Route::post('admin/user/show/integral/info', 'app\admin\controller\UserManage@IntegralIOInfo');    //积分收支记录详情  post

Route::post('admin/user/running', 'app\admin\controller\UserManage@running');    //商户收支明细  post
Route::post('admin/user/pledge_to_record', 'app\admin\controller\UserManage@pledge_to_record');    //商户收支明细  post
Route::post('admin/user/commission_for', 'app\admin\controller\UserManage@commission_for');    //商户收支明细  post



Route::post('admin/user/show/integral/pledge', 'app\admin\controller\UserManage@showIntegralPledge');    //积分质押记录  post
Route::post('admin/user/show/integral/pledge/list', 'app\admin\controller\UserManage@showIntegralPledgeList');    //积分质押详情  post


Route::post('admin/user/show/user/friend', 'app\admin\controller\UserManage@showUserFriend');    //用户好友显示  post

Route::post('admin/user/show/review/apply', 'app\admin\controller\UserManage@showReviewApply');    //积分质押详情  post

Route::post('admin/user/show/shop/info', 'app\admin\controller\UserManage@showShopInfo');    //显示商户内容  post
Route::post('admin/user/show/integral/pledge/info', 'app\admin\controller\UserManage@showIntegralPledgeInfo');    //显示商户内容  post
Route::post('admin/user/show/user/msg/flow', 'app\admin\controller\UserManage@showUserMsgFlow');    //账号情况显示  post

Route::post('admin/user/change/user/status', 'app\admin\controller\UserManage@changeUserStatus');    //账号情况显示  post

Route::post('admin/user', 'app\admin\controller\UserManage@distributionIncomeInfo');    //分销收益  post
Route::post('admin/user/test', 'app\admin\controller\UserManage@shopProxyIncomeInfo');    //推荐商户收益  post
Route::post('admin/user/test1', 'app\admin\controller\UserManage@subordinateProxy');    //推荐商户收益  post


Route::post('admin/show/carousel/img', 'app\admin\controller\PlatformSet@showCarouselImg');    //轮播图显示  post

Route::post('admin/add/carousel/img', 'app\admin\controller\PlatformSet@addCarouselImg');    //添加轮播图  post
Route::post('admin/add/platform/carousel/img', 'app\admin\controller\PlatformSet@addCarouselImgStatus');    //添加轮播图  post

Route::post('admin/msg/config/send', 'app\admin\controller\PlatformSet@msgConfig');    //消息设置  post


Route::post('admin/review/show/list', 'app\admin\controller\ReviewManage@showReviewInfoList');    //审核处理列表  post
Route::post('admin/review/with/show', 'app\admin\controller\ReviewManage@dealWithShow');    //审核处理显示  post
Route::post('admin/review/with', 'app\admin\controller\ReviewManage@dealWith');    //审核处理显示  post

Route::post('admin/carousel/img/release', 'app\admin\controller\PlatformSet@releaseCarouselImg');    //轮播图发布  post

Route::post('admin/carousel/img/release/info', 'app\admin\controller\PlatformSet@changeCarouselImgInfo');    //轮播图内容修改  post

Route::post('admin/show/carousel/img/title', 'app\admin\controller\PlatformSet@showCarouselImgTitle');    //轮播图图片展示  post consult
Route::get('admin/show/carousel/consult', 'app\admin\controller\PlatformSet@consult');    //咨询列表  post
Route::post('admin/show/carousel/consult_del', 'app\admin\controller\PlatformSet@consult_del'); // 删除咨询


Route::post('admin/show/carousel/img/info', 'app\admin\controller\PlatformSet@showCarouselImgInfo');    //轮播图内容展示  post
Route::post('admin/del/carousel/img', 'app\admin\controller\PlatformSet@delCarouselImg');    //轮播图内容展示  post

Route::post('admin/show/original/user', 'app\admin\controller\OriginalUser@showOriginalUser');    //原始会员展示  post

Route::post('admin/show/original/user/info', 'app\admin\controller\OriginalUser@showOriginalUserInfo');    //原始会员详情  post

Route::post('admin/add/original/user', 'app\admin\controller\OriginalUser@addOriginalUser');    //添加原始会员  post
Route::post('admin/show/original/user/list', 'app\admin\controller\OriginalUser@showApplyOriginalUserList');    //显示原始会员列表申请  post
Route::post('admin/show/original/showApplyOriginalUserList_identity', 'app\admin\controller\OriginalUser@showApplyOriginalUserList_identity');    //显示原始会员列表申请  post

Route::post('admin/show/original/title', 'app\admin\controller\OriginalUser@showOriginalTitle');    //原始会员列表统计  post

Route::post('admin/show/original/friend', 'app\admin\controller\OriginalUser@showUserFriend');    //原始会员列表统计  post
Route::post('admin/show/original/n_friend', 'app\admin\controller\OriginalUser@geNUserInfo');    //原始会员列表统计  post

Route::post('admin/show/proxy/manage/list', 'app\admin\controller\ProxyManage@showProxyManageList');    //区域代理列表显示  post

Route::post('admin/search/user/manage/list', 'app\admin\controller\ProxyManage@searchUserList');    //区域代理列用户搜索  post

Route::get('admin/show/province', 'app\admin\controller\ProxyManage@showProvince');    //省份显示  get
Route::get('admin/show/municipal', 'app\admin\controller\ProxyManage@showMunicipal');    //市显示  get
Route::get('admin/show/area', 'app\admin\controller\ProxyManage@showArea');    //大区显示  get

Route::get('admin/show/proxy/title', 'app\admin\controller\ProxyManage@showProxyTitle');    //代理抬头统计显示  get

Route::post('admin/add/proxy/user', 'app\admin\controller\ProxyManage@addProxyUser');    //添加区域代理  post


Route::post('admin/platform/material/income', 'app\admin\controller\PlatformMaterial@otherIncome');    //平台数据其他收益  post
Route::post('admin/platform/income/info', 'app\admin\controller\PlatformMaterial@proxyIncomeInfo');    //平台数据代理分红  post
Route::post('admin/integral/info', 'app\admin\controller\PlatformMaterial@integralInfo');    //平台数据积分详情  post
Route::get('admin/platform/info/title', 'app\admin\controller\PlatformMaterial@platformInfoTitle');    //平台数据抬头  get
Route::post('admin/show/shop/service/money', 'app\admin\controller\PlatformMaterial@showShopServiceMoney');    //平台数据 商户服务费  post
Route::post('admin/platform/transaction/money', 'app\admin\controller\PlatformMaterial@platformTransactionMoney');    //平台数据 平台管理费  post

Route::post('admin/proxy/info', 'app\admin\controller\UserManage@areaProxyInfo');    //平台数据 平台管理费  post
Route::post('admin/proxy/info/title', 'app\admin\controller\ProxyManage@showProxyManageTitle');    //区域数据 抬头
Route::post('admin/proxy/area/info', 'app\admin\controller\ProxyManage@areaInfo');    //区域数据 区域详情
Route::post('admin/proxy/service/money', 'app\admin\controller\ProxyManage@platformServiceMoney');    //区域数据 平台服务费
Route::post('admin/proxy/management/money', 'app\admin\controller\ProxyManage@platformManagementMoney');    //区域数据 平台平台管理费
Route::post('admin/proxy/area/dividend', 'app\admin\controller\ProxyManage@areaDividend');    //区域数据 盈利及分红

Route::post('admin/add/distribution/flow', 'app\admin\controller\PlatformSet@addDistributionFlow');    //添加分佣流水  post

/////////////////////////////////----------------创始会员----------------------/////////////////////////////////
Route::post('show/original/info', 'app\user\OriginalMember@showOriginalMemberInfo');    //创始会员信息展示  post
Route::post('add/original/member', 'app\user\OriginalMember@addOriginalMember');    //申请创始会员 post

Route::post('add/original/recommend_pledge', 'app\user\OriginalMember@recommend_pledge');    //推荐股份质押

Route::post('admin/show/original/pledge_list', 'app\admin\controller\OriginalUser@pledge_list');   //推荐配股质押
Route::post('admin/show/original/pledge_audit', 'app\admin\controller\OriginalUser@pledge_audit');   //推荐配股质押审核

Route::post('edit/original/member', 'app\user\OriginalMember@editOriginalMember');    //创始会员修改 post
Route::post('append/original/integral', 'app\user\OriginalMember@appendOriginalIntegral');    //追加创始会员股份 post
Route::post('quit/original/member', 'app\user\OriginalMember@quitOriginalMember');    //退出创始会员 post
Route::post('pledge/original/member', 'app\user\OriginalMember@originalPledgeIntegral');    //创始会员应急申请 post
Route::post('pledge/original/member/ransom', 'app\user\OriginalMember@originalPledgeRansomIntegral');    //创始会员应急赎回申请 post
Route::post('pledge/original/member/status', 'app\user\OriginalMember@showPledgeIntegralStatus');    //创始会员信息展示  post
Route::post('pledge/original/member/ransom/status', 'app\user\OriginalMember@showPledgeRansomIntegralStatus');    //创始会员信息展示  post
Route::post('add/original/recommend/integral', 'app\user\OriginalMember@originalRecommendIntegral');    //创始会员分分佣额提现申请  post
Route::post('add/original/dividend/integral', 'app\user\OriginalMember@originalRecommendIntegral');    //创始会员分分红额提现申请  post
















Route::post('add/original/dividend/recycling', 'app\user\OriginalMember@recycling');    // 会员交子回收 post
Route::post('add/original/dividend/cash', 'app\user\OriginalMember@cash'); //会员金额提现 post
Route::post('add/original/dividend/appropriation', 'app\user\OriginalMember@appropriation'); //友情商户拨款

















Route::post('admin/show/original/append/list', 'app\admin\controller\OriginalUser@showOriginalAppendList');   //创始会员股份追加列表展示  post
Route::post('admin/show/original/append/info', 'app\admin\controller\OriginalUser@showOriginalAppendInfo');   //创始会员股份追加详情展示  post
Route::post('admin/change/original/append/type', 'app\admin\controller\OriginalUser@changeOriginalAppendType');   //创始会员股份追状态修改  post

Route::post('admin/show/original/quit/list', 'app\admin\controller\OriginalUser@showOriginalQuitList');   //创始会员退出申请列表展示  post
Route::post('admin/show/original/quit/info', 'app\admin\controller\OriginalUser@showOriginalQuitInfo');   //创始会员退出申请详情展示  post
Route::post('admin/show/original/quit/type', 'app\admin\controller\OriginalUser@changeOriginalQuitType');   //创始会员退出申请状态修改  post

Route::post('admin/show/original/pledge/list', 'app\admin\controller\OriginalUser@showOriginalPledgeList');   //创始会员应急申请列表展示  post
Route::post('admin/show/original/pledge/info', 'app\admin\controller\OriginalUser@showOriginalPledgeInfo');   //创始会员应急申请列表展示  post
Route::post('admin/show/original/pledge/type', 'app\admin\controller\OriginalUser@changeOriginalPledgeType');   //创始会员应急申请状态修改  post

Route::post('admin/show/original/pledge/ransom/list', 'app\admin\controller\OriginalUser@showOriginalPledgeRansomList');   //创始会员应急赎回列表展示  post
Route::post('admin/show/original/pledge/ransom/info', 'app\admin\controller\OriginalUser@showOriginalPledgeRansomInfo');   //创始会员应急赎回详情表展示  post
Route::post('admin/show/original/pledge/ransom/type', 'app\admin\controller\OriginalUser@changeOriginalPledgeRansomType');   //创始会员应急赎回状态修改  post

Route::post('admin/show/original/recommend/money/list', 'app\admin\controller\OriginalUser@showOriginalRecommendMoneyList');   //创始会员分佣提现列表  post
Route::post('admin/show/original/recommend/money/info', 'app\admin\controller\OriginalUser@showOriginalRecommendMoneyInfo');   //创始会员应急赎回详情表展示  post
Route::post('admin/show/original/recommend/money/type', 'app\admin\controller\OriginalUser@changeOriginalRecommendMoneyType');   //创始会员应急赎回状态修改  post

Route::post('admin/show/original/dividend/money/list', 'app\admin\controller\OriginalUser@showOriginalDividendMoneyList');   //创始会员分佣提现列表  post
Route::post('admin/show/original/dividend/money/info', 'app\admin\controller\OriginalUser@showOriginalDividendMoneyInfo');   //创始会员应急赎回详情表展示  post
Route::post('admin/show/original/dividend/money/type', 'app\admin\controller\OriginalUser@changeOriginalDividendMoneyType');   //创始会员应急赎回状态修改  post


Route::post('admin/show/original/pledge/ransom/type', 'app\admin\controller\OriginalUser@changeOriginalPledgeRansomType');   //创始会员应急赎回状态修改  post



Route::get('shell/original/recommend/integral', 'app\shell\OriginalRecommend@originalRecommendIntegral');   //创始会员应急赎回状态修改  post

/////////////////////////////--------------渠道商户----------------//////////////////////////////////////
Route::post('admin/add/proxy/shop', 'app\admin\controller\ProxyShop@addProxyShop');  //添加渠道商户 post
Route::post('admin/login/proxy/shop', 'app\admin\controller\ProxyShop@loginProxyShop');  //渠道商户登陆 post


Route::post('admin/login/proxy/goods_change', 'app\admin\controller\ProxyShop@goods_change');  //修改商品详情
Route::post('admin/login/proxy/material', 'app\admin\controller\ProxyShop@material');  //供货商订单
Route::post('admin/login/proxy/supplier','app\admin\controller\ProxyShop@supplier');//供货商发货


Route::post('admin/proxyshop/proxy/proxy_data', 'app\admin\controller\ProxyShop@Proxy_data');  //渠道商数据 post
Route::post('admin/proxyshop/proxy/information', 'app\admin\controller\ProxyShop@Agent_information');  //渠道商与分类信息 post

Route::post('admin/proxyshop/proxy/wares', 'app\admin\controller\ProxyShop@wares');  //商品信息 post
Route::post('admin/proxyshop/proxy/add_classification', 'app\admin\controller\ProxyShop@add_classification');  //新增分类 post
Route::post('admin/proxyshop/proxy/del_classification', 'app\admin\controller\ProxyShop@del_classification');  //新增分类 post

Route::post('admin/proxyshop/proxy/commodity', 'app\admin\controller\ProxyShop@commodity');  //渠道商品添加 post
Route::post('admin/proxyshop/proxy/modify_classification', 'app\admin\controller\ProxyShop@modify_classification');  //渠道商品分类修改 post


Route::post('admin/admin/login/admin_menu', 'app\admin\controller\Login@admin_menu');//后台菜单列表
Route::post('admin/admin/login/menu', 'app\admin\controller\Login@menu');//后台权限管理列表
Route::post('admin/admin/login/password', 'app\admin\controller\Login@password');//后台权限管理密码修改


Route::post('admin/admin/login/add_permission', 'app\admin\controller\Login@add_permission');//后台权限管理
Route::post('admin/admin/login/account_list', 'app\admin\controller\Login@account_list');//账号列表
Route::post('admin/admin/login/account_add', 'app\admin\controller\Login@account_add');//添加后台账户

Route::post('admin/originaluser/showsupplier',"app\admin\controller\OriginalUser@showsupplier");//审核列表;
Route::post('admin/originaluser/getSupplier',"app\admin\controller\OriginalUser@getSupplier");//审核;




/////////////////////////////--------------合伙人报表--------------//////////////////////////////////////
Route::get('admin/proxyshop/proxy/china_area',"app\admin\controller\ProxyShop@china_area");//所有区域
Route::post('admin/proxyshop/proxy/region',"app\admin\controller\ProxyShop@region");//头部信息
Route::post('admin/proxyshop/proxy/details',"app\admin\controller\ProxyShop@details");//区域详情



/////////////////////////////--------------参数设置----------------//////////////////////////////////////

Route::post('admin/usermanage/setting', 'app\admin\controller\UserManage@setting');//参数设置
Route::post('admin/usermanage/parameters', 'app\admin\controller\UserManage@Parameters');//参数设置查看

/////////////////////////////--------------统计报表----------------//////////////////////////////////////
Route::post('admin/member/statistics_member', 'app\admin\controller\Member@statistics_member');//统计报表
/////////////////////////////--------------审核管理----------------//////////////////////////////////////
Route::post('admin/audit/management', 'app\admin\controller\Audit@management');//店铺审核查看
Route::post('admin/audit/alter', 'app\admin\controller\Audit@alter');//店铺审核
Route::post('admin/audit/withdraw', 'app\admin\controller\Audit@withdraw');//提现审核查看
Route::post('admin/audit/withdraw_alter', 'app\admin\controller\Audit@withdraw_alter');//提现审核
Route::post('admin/audit/originate', 'app\admin\controller\Audit@originate');//创始会员查看
Route::post('admin/audit/originate_alter', 'app\admin\controller\Audit@originate');//创始会员
Route::post('admin/audit/integral', 'app\admin\controller\Audit@integral');//积分质押查看
Route::post('admin/audit/integral_alter', 'app\admin\controller\Audit@integral_alter');//积分质押
Route::post('admin/audit/recycling', 'app\admin\controller\Audit@recycling');//会员商户交子回收查看
Route::post('admin/audit/recycling_alter', 'app\admin\controller\Audit@recycling_alter');//会员商户交子回收审核
Route::post('admin/audit/cash', 'app\admin\controller\Audit@cash');//会员商户余额提现查看
Route::post('admin/audit/cash_alter', 'app\admin\controller\Audit@cash_alter');//会员商户余额审核
Route::post('admin/audit/supplement', 'app\admin\controller\Audit@supplement');//身份证审核



/////////////////////////////--------------微信-------------------////////////////////////////////////
Route::post('admin/audit/remit', 'app\admin\controller\Audit@remit');

///
///
///
///
///
///

//////////////////////////////////////用户/////////////////////////////////////////////
Route::post('admin/user/perfect',"app\user\User@perfect");//完善用户信息 (交子支付密码)

Route::post('admin/supply/parameter',"app\supply\Supply@parameter");//交子参数详情
return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]' => [
        ':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],
];
